home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / APW Interfaces / AInclude / E16.MediaCtrl < prev    next >
Encoding:
Text File  |  1992-02-26  |  6.5 KB  |  175 lines  |  [TEXT/MPS ]

  1. ;
  2. ; File: E16.MediaControl
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc. 1991
  6. ; All Rights Reserved
  7. ;
  8.  
  9. ; Position unit types for MCGetPosition and other calls:
  10.  
  11. mcInChapters    GEQU    1        ; Position is measured in chapters.
  12. mcInFrames    GEQU    2        ; Position is measured in frames.
  13. mcInTimes    GEQU    3        ; Position is measured in hours,minutes,seconds,blocks.
  14.  
  15.  
  16.  
  17. ; Control values for MCControl:
  18.  
  19. mcCInit        GEQU    $0001        ; Initialize player.
  20. mcCEject    GEQU    $0002        ; Eject disc.
  21. mcCVideoOn    GEQU    $0003        ; Turn video on.
  22. mcCVideoOff    GEQU    $0004        ; Turn video off.
  23. mcCDisplayOn    GEQU    $0005        ; Turn video position display on.
  24. mcCDisplayOff    GEQU    $0006        ; Turn video position display off.
  25. mcCBlankVideo    GEQU    $0007        ; Blank video for next MCSearchTo.
  26. mcCDefaultCom    GEQU    $0008        ; Set default communications.
  27. mcCLockDev    GEQU    $0009        ; Set the device to locked.
  28. mcCUnLockDev    GEQU    $000A        ; Unlock the device.
  29.  
  30. mcC8Data1Stop    GEQU    $0028        ; Set 8 - data  1 - stop bit.
  31. mcC7Data1Stop    GEQU    $0029        ; Set 7 - data  1 - stop bit.
  32. mcC6Data1Stop    GEQU    $002A        ; Set 6 - data  1 - stop bit.
  33. mcC5Data1Stop    GEQU    $002B        ; Set 5 - data  1 - stop bit.
  34. mcC8Data2Stop    GEQU    $002C        ; Set 8 - data  2 - stop bit.
  35. mcC7Data2Stop    GEQU    $002D        ; Set 7 - data  2 - stop bit.
  36. mcC6Data2Stop    GEQU    $002E        ; Set 6 - data  2 - stop bit.
  37. mcC5Data2Stop    GEQU    $002F        ; Set 5 - data  2 - stop bit.
  38.  
  39. mcCBaudDflt    GEQU    $0032        ; Set baud rate to control panel setting.
  40. mcCBaud50    GEQU    $0033        ; Set 50 baud.
  41. mcCBaud75    GEQU    $0034        ; Set 75 baud.
  42. mcCBaud110    GEQU    $0035        ; Set 110 baud.
  43. mcCBaud134    GEQU    $0036        ; Set 134 baud.
  44. mcCBaud150    GEQU    $0037        ; Set 150 baud.
  45. mcCBaud300    GEQU    $0038        ; Set 300 baud.
  46. mcCBaud600    GEQU    $0039        ; Set 600 baud.
  47. mcCBaud1200    GEQU    $003A        ; Set 1200 baud.
  48. mcCBaud1800    GEQU    $003B        ; Set 1800 baud.
  49. mcCBaud2400    GEQU    $003C        ; Set 2400 baud.
  50. mcCBaud3600    GEQU    $003D        ; Set 3600 baud.
  51. mcCBaud4800    GEQU    $003E        ; Set 4800 baud.
  52. mcCBaud7200    GEQU    $003F        ; Set 7200 baud.
  53. mcCBaud9600    GEQU    $0040        ; Set 9600 baud.
  54. mcCBaud19200    GEQU    $0041        ; Set 19200 baud.
  55.  
  56. mcCModem    GEQU    $0064        ; Set to modem port.
  57. mcCPrinter    GEQU    $0065        ; Set to printer port.
  58.  
  59. mcCIgnoreDS    GEQU    $00C8        ; Ignore "disk switched" GSOS errors.
  60. mcCReportDS    GEQU    $00C9        ; Report "disk switched" GSOS errors.
  61.  
  62.  
  63.  
  64. ; Values for MCGetFeatures:
  65.  
  66. mcFTypes    GEQU    0        ; How the disc is organized (frames, chapters, etc.).
  67. mcFStep        GEQU    1        ; Maximum fps speed value (normal is 255).
  68. mcFRecord    GEQU    2        ; Device supports MCRecord.
  69. mcFVideo    GEQU    3        ; Device supports toggling video.
  70. mcFEject    GEQU    4        ; Device supports ejecting medium.
  71. mcFLock        GEQU    5        ; Device supports user lock (locking user from physically
  72.                     ; operating the device).
  73. mcFVDisplay    GEQU    6        ; Device supports video display of location.
  74. mcFVOverlay    GEQU    7        ; No. of lines of overlay characters device supports.
  75. mcFVOChars    GEQU    8        ; No. of chars/line supported by overlay.
  76. mcFVolume    GEQU    9        ; Does volume control?
  77.  
  78.  
  79. ; Status values for MCGetStatus:
  80.  
  81. mcSUnknown    GEQU    $0000        ; Player unable to determine this status.
  82.  
  83. mcSDeviceType    GEQU    $0000        ; "Device type" selector.
  84. mcSLaserDisc    GEQU    $0001        ; Video laser disc player.
  85. mcSCDAudio    GEQU    $0002        ; Audio CD player.
  86. mcSCDLaserCD    GEQU    $0003        ; Combination laser/CD player.
  87. mcSVCR        GEQU    $0004        ; VCR.
  88. mcSCamCorder    GEQU    $0005        ; Video camera.
  89.  
  90. mcSPlayStatus    GEQU    $0001        ; "Play status" selector.
  91. mcSPlaying    GEQU    $0001        ; The device is playing.
  92. mcSStill    GEQU    $0002        ; The device is not playing (paused).
  93. mcSParked    GEQU    $0003        ; The device is shut down.
  94.  
  95. mcSDoorStatus    GEQU    $0002        ; "Player door" status.
  96. mcSDoorOpen    GEQU    $0001
  97. mcSDoorClosed    GEQU    $0002
  98.  
  99. mcSDiscType    GEQU    $0003        ; "Disc type" selector.
  100. mcS_CLV        GEQU    $0001
  101. mcS_CAV        GEQU    $0002
  102. mcS_CDV        GEQU    $0003
  103. mcS_CD        GEQU    $0004
  104.  
  105. mcSDiscSize    GEQU    $0004        ; "Disc size" selector.
  106. mcSDisc3inch    GEQU    $0003
  107. mcSDisc5inch    GEQU    $0005
  108. mcSDisc8inch    GEQU    $0008
  109. mcSDisc12inch    GEQU    $000C
  110.  
  111. mcSDiscSide    GEQU    $0005        ; "Disc side" selector.
  112. mcSSideOne    GEQU    $0001
  113. mcSSideTwo    GEQU    $0002
  114.  
  115. mcSVolumeL    GEQU    $0006        ; Current left volume selector.
  116. mcSVolumeR    GEQU    $0007        ; Current right volume selector.
  117.  
  118.  
  119. ; Time parameter values for MCGetTimes:
  120.  
  121. mcElapsedTrack    GEQU    $0000        ; Elapsed time on current track/chapter.
  122. mcRemainTrack    GEQU    $0001        ; Remaining time on current track/chapter.
  123. mcElapsedDisc    GEQU    $0002        ; Elapsed time on disc.
  124. mcRemainDisc    GEQU    $0003        ; Remaining time on disc.
  125. mcTotalDisc    GEQU    $0004        ; Total run time on disc.
  126. mcTotalFrames    GEQU    $0005        ; Total number of frames on disc.
  127. mcTracks    GEQU    $0006        ; Binary start and ending track numbers (bits 31-16 = ending,
  128.                     ; bits 15-0 = starting track number.)
  129. mcDiscID    GEQU    $0007        ; returns a disc identifier
  130.  
  131.  
  132. ; Audio values:
  133.  
  134. mcAudioOff    GEQU    $0000        ; Audio off.
  135. mcAudioRight    GEQU    $0001        ; Audio thru right channel only.
  136. mcAudioLinR    GEQU    $0002        ; Audio left in right only.
  137. mcAudioMinR    GEQU    $0003        ; Audio mixed in right only.
  138. mcAudioRinL    GEQU    $0004        ; Audio right in left only.
  139. mcAudioRinLR    GEQU    $0005        ; Audio right in left and right.
  140. mcAudioReverse    GEQU    $0006        ; Audio right in left, left in right.
  141. mcAudioRinLMR    GEQU    $0007        ; Audio right in left, mixed in right.
  142. mcAudioLeft    GEQU    $0008        ; Audio left channel only.
  143. mcAudioStereo    GEQU    $0009        ; Audio both channels (in stereo).
  144. mcAudioLinLR    GEQU    $000A        ; Audio left in left and right.
  145. mcAudioLinLMR    GEQU    $000B        ; Audio left in left, mixed in right.
  146. mcAudioMinL    GEQU    $000C        ; Audio mixed in left only.
  147. mcAudioMinLRinR    GEQU    $000D        ; Audio mixed in left, right in right.
  148. mcAudioMinLLinR    GEQU    $000E        ; Audio mixed in left, left in right.
  149. mcAudioMonaural    GEQU    $000F        ; Audio mixed in left and right (monaural).
  150.  
  151.  
  152.  
  153. ; Error codes:
  154.  
  155. mcUnImp        GEQU    $2601        ; Unimplemented for this device.
  156. mcNotApplic    GEQU    $2601        ; <see UnImp>
  157. mcBadSpeed    GEQU    $2602        ; Invalid speed specified.
  158. mcBadUnitType    GEQU    $2603        ; Invalid unit type specified.
  159. mcTimeOutErr    GEQU    $2604        ; Timed out during device read.
  160. mcNotLoaded    GEQU    $2605        ; No driver is currently loaded.
  161. mcBadAudio    GEQU    $2606        ; Invalid audio value.
  162. mcDevRtnError    GEQU    $2607        ; Device returned error (unable to perform).
  163. mcUnRecStatus    GEQU    $2608        ; Unrecognizable status from device.
  164. mcBadSelector    GEQU    $2609        ; Invalid selector value specified.
  165. mcFunnyData    GEQU    $260A        ; Funny data received (try again).
  166. mcInvalidPort    GEQU    $260B        ; Invalid port specified.
  167. mcOnlyOnce    GEQU    $260C        ; Scans only once.
  168. mcNoResMgr    GEQU    $260D        ; Resource manager not active.
  169. mcItemNotThere    GEQU    $260E        ; Item not found in database.
  170. mcWasShutDown    GEQU    $260F        ; Media Control Toolset was already shut down.
  171. mcWasStarted    GEQU    $2610        ; Media Control Toolset was already started.
  172. mcBadChannel    GEQU    $2611        ; Invalid channel number.
  173. mcInvalidParam    GEQU    $2612        ; Invalid parameter.
  174. mcCallNotSupported GEQU    $2613        ; Call is not supported.
  175.